﻿using FluentNHibernate.Mapping;
using MediaMover.Common.TV;

namespace MediaMover.Data.NHIbernate.Mappings
{
    public class EpisodeMap : ClassMap<Episode>
    {
        public EpisodeMap()
        {
            Table("Episodes");
            Id(x => x.Id).Column("EpisodeID").GeneratedBy.Identity();
            Map(x => x.Title);
            Map(x => x.Number);
            Map(x => x.Description);
            Map(x => x.FileName);
        }
    }
}
